package com.css.fxfzxczh.modules.disasterSituationDataManage.samPoiHouSur.repository;

import com.css.fxfzxczh.modules.disasterSituationDataManage.samPoiHouSur.entity.SamPoiHouSur;
import com.css.fxfzxczh.modules.disasterSituationDataManage.samPoiHouSur.queryParams.SamPoiHouSurQuaParams;
import com.css.fxfzxczh.modules.disasterSituationDataManage.samPoiHouSur.vo.ResultParamVo;
import com.css.fxfzxczh.modules.disasterSituationDataManage.samPoiHouSur.vo.SamPoiHouSurCheckVo;
import com.css.fxfzxczh.modules.lossReportManage.lossReportEscalation.vo.ResultVo;

import java.util.List;
import java.util.Map;

public interface SamPoliHouSurRepository {
    Map<String, Object> getPage(SamPoiHouSurQuaParams queParams, int curPage, int pageSize);

    boolean save(SamPoiHouSur samPoiHouSur);

    List<SamPoiHouSur> getSamPoiDataList(SamPoiHouSurQuaParams queParams);

    String getMaxNum(String toString);

    SamPoiHouSur findById(String id);

    void check(String id, String checkStatus, String checkOpinion);

    void update(SamPoiHouSur samPoiHouSur);

    List<SamPoiHouSurCheckVo> getSamPoiCheckDataList(SamPoiHouSurQuaParams queParams);

    void isDamnificationCount(String id,String state);

    List<SamPoiHouSur> getTaskListByXsemId(String xsemId);

    SamPoiHouSur getTaskListByXspdId(String xspdId);

    ResultParamVo getSamPoiHouSurCalculateByXsemId(String xsemId, List<String> idList);

    void submit(String id);

    List<SamPoiHouSur> getHouseDataBySurTaskManageId(List<String> typy1List);

    void updateXsemId(String xsemId, String convertedXsemId);

    void delete(String[] ids);

    Map<String, Object> getAppPage(SamPoiHouSurQuaParams queParams, int curPage, int pageSize);

    List<SamPoiHouSur> getSamPoiHouDataByXsemIdAndType(String xsemId, String type,String checkStatus);

    List<SamPoiHouSur> getHouseTypicalDamage(String xsemId);
}
